/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.springvision.yuanfeng.device.service;

import java.io.Serializable;
import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.springvision.yuanfeng.device.entity.DeviceMessage;
import com.springvision.yuanfeng.device.mapper.DeviceMessageMapper;

/**
 * 设备消息上报Service
 * @author 赵博
 * @version 2018-07-17
 */
@Service
@Transactional(readOnly = true)
public class DeviceMessageService extends CrudService<DeviceMessageMapper, DeviceMessage> implements Serializable {

	public DeviceMessage get(String id) {
		return super.get(id);
	}

	public List<DeviceMessage> findList(DeviceMessage deviceMessage) {
		return super.findList(deviceMessage);
	}

	public Page<DeviceMessage> findPage(Page<DeviceMessage> page, DeviceMessage deviceMessage) {
		return super.findPage(page, deviceMessage);
	}

	@Transactional(readOnly = false)
	public void save(DeviceMessage deviceMessage) {
		super.save(deviceMessage);
	}

	@Transactional(readOnly = false)
	public void delete(DeviceMessage deviceMessage) {
		super.delete(deviceMessage);
	}

}